public class Book12_2{
	public static void main(String[] args){
		int n=2+3+5+7+11+13+17+19+23;
		System.out.println(n);
	}
}